Orator::Router.draw do

  # Here you can place your routes for your orators.  They'd follow the syntax
  # as something like:
  #
  #   match 'socket#open', to: "SocketOrator", method: "open", 
  #     event: "socket.open"
  #
  # Although we can drop everything after `match 'socket#open'` since it's
  # implied.  Some more examples:
  #
  #   match 'channel#user.list' # to: "ChannelOrator", method: "user_list",
  #     event: "channel.user.list"
  #
  #   match 'user#name', to: "ChatOrator" # this would call the #name method
  #                                       # on ChatOrator, so be careful!  If
  #                                       # you have a route 'chat#name', they
  #                                       # will both lead to that method!
  #
  #   match 'user#data', to: proc { respond(user) }
  #
  # If you want, you can use `event` instead of match, to make it more readable
  # in some cases:
  #
  #   event 'some#event'

  match 'socket#error', to: proc { |*data| pp data }

end
